package com.zhou.message.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @author lang.zhou
 * @since 2023/3/1
 */

@Data
@ApiModel("消息模板发送模型")
public class MessageTemplateSendDto implements Serializable {

    @ApiModelProperty("模板id")
    @NotBlank
    private Integer id;

    @ApiModelProperty("参数")
    private Map<String,Object> param;


    @ApiModelProperty("接收人")
    private List<Integer> orgIds;
}
